package Change;
import java.util.Scanner;
import book.Book;

public class ChangeName extends Change{
    public void change(Book book) {
        Scanner scanner = new Scanner(System.in);
        System.out.println("请输入修改后的书名:");
        book.setName(scanner.nextLine());
        System.out.println("修改成功");
    }
}
